package com.examination.client.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author: XiaoDong
 * @date: 2021-10-27 13:04
 * @description:
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "wechat.public.account")
public class WechatAccountConfig {
    @Value("wechat.public.account.appId")
    private String appId="wx484166c7a3a332d0";
    @Value("wechat.public.account.appSecret")
    private String appSecret="4d31b00baa124d7f1604cecdc57b7705";
    @Value("wechat.public.account.templateId")
    private String templateId="whS5tRDX2rQmppJCyBVlFaM6n30LIsJkepPA05nMNgQ";
}
